/* components/Dialog/Dialog.wxss */

.dialog_box {
  position: absolute;
  z-index: 99999;
  left: 0;
  top:0;
  width:100vw;
  height: 100vh;
  .dialog_mask {
    position: absolute;
    width:100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
  }

  .dialog_container {
    position:absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin:auto;
    z-index: 1;
    width:70%;
    height: 250rpx;
    padding:30rpx 40rpx;
    background: #fff;
    border-radius: 16rpx;

    .dialog_title {
      text-align: center;
    }

    .dialog_content {
      margin-top: 30rpx;
      text-align: center;
    }

    .dialog_btns {
      margin-top: 20rpx;
      display: flex;
      // border: 1px solid #ccc;
      justify-content: space-around;

      .btn {
        padding:10rpx 30rpx;
        border-radius: 8rpx;
        background: #fff;

        &.primary {
          background: #0f0;
        }

        &.warning {
          background: #ccc;
        }
      }
    }


  }
}